package com.sen.common.constant;

/**
 * @author Kisen
 * @email lqs0911@qq.com
 * @date 2023/1/10 17:21
 * @detail 缓存常量
 */
public class OrderCacheConst {

    /**
     * MQ消息id缓存过期天数（消息幂等性）
     */
    public static final long MQ_MESSAGE_ID_CACHE_TIMEOUT_DAYS = 30;

    /**
     * 订单定时关单缓存key前缀
     **/
    public static final String ORDER_RELEASE_ORDER_KEY = "Order:releaseOrder:";

    /**
     * 创建秒杀单缓存key前缀
     **/
    public static final String ORDER_SECKILL_ORDER_KEY = "Order:seckillOrder:";
}
